import {getCommissionDatas,getPreviousPeriod} from "../dingtalk/utils.js";

// import {
//     DINGTALK_COMMISSION_TABLE,
//     DINGTALK_REN_GONG_COST_NICKNAME,
//     DINGTALK_REN_GONG_COST,
//     DINGTALK_OPERATOR_ID
// } from "../config/dingtalkConfig.js";
//
//
// const exceptions=[]
//
// getCommissionDatas({
//     baseId:DINGTALK_COMMISSION_TABLE.baseId,
//     sheetName:DINGTALK_COMMISSION_TABLE.sheetIdOrName,
//     accessToken:"989550c4e06b32c78a24ef255cf3bb12",
//     operatorId:DINGTALK_OPERATOR_ID,
//     exceptions:exceptions,
// })

console.log(getPreviousPeriod("2025-10-01", "2025-10-05"));


